package com.pine.dcts.core;

import com.alibaba.datax.common.constant.PluginType;
import com.alibaba.datax.common.util.Configuration;

/**
 * @author xiaoyuan
 * @create 2020/11/27
 **/
public interface IPluginConfigHandler {

    /**
     *  补充所有的配置
     * @param configuration
     */
    void supplementConfig(PluginType pluginType,Configuration configuration);

    /**
     *  补充插件配置
     * @param pluginType 插件类型
     * @param configuration
     */
    void supplementPluginConfig(PluginType pluginType, Configuration configuration);

    /**
     *  补充核心配置
     * @param configuration
     */
    void supplementCoreConfig(Configuration configuration);

    /**
     *  补充一个job的配置
     * @param configuration
     */
    void supplementJobConfig(Configuration configuration);

    boolean support(String type);
}
